﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BLL;

public partial class bgData_Zbmsg : System.Web.UI.Page
{
    int unit = 0;
    string strApp = "";
    string repName = "";
    public string bmp = "";

    DBbase vCrm = new DBbase();
    BLLData bd = new BLLData();

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            repName = this.rep.Value;

            unit = int.Parse(this.jz.Value);

            this.show.InnerHtml = bd.retTableByUnitAndRep(unit, repName);
        }
    }

    protected void btnChaXun_Click(object sender, EventArgs e)
    {
        repName = this.rep.Value;

        unit = int.Parse(this.jz.Value);

        this.show.InnerHtml = bd.retTableByUnitAndRep(unit, repName);
    }
}
